package org.itsolutions.javaBackup.gui.web.common.components;

import com.vaadin.ui.ComponentContainer;

/**
 * Common interface for all the JB views.
 * @param <T> type of the view
 * @author Tomas Fecko
 */
public interface IView<T> {

	/**
	 * All the gui creation should be done here.
	 * @return T type of view
	 */
	T init();
	
	/**
	 * 
	 * @return main component of this view
	 */
	ComponentContainer getMainContainer();
}





